package com.tang.consumer;

import com.tang.consumer.rpc.ProviderRpc;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


import javax.annotation.Resource;

/**
 * @author Tang
 * @classname Consumer
 * @description [  ]
 * @date 2021/12/20 21:57
 */
@EnableFeignClients
@SpringBootApplication
public class Consumer implements CommandLineRunner {

    @Resource
    ProviderRpc providerRpc;

    public static void main(String[] args) {
        SpringApplication.run(Consumer.class);
    }

    @Override
    public void run(String... args) throws Exception {

    }
}